<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>生成二维码</title>

<script type="text/javascript" src="static/js/jquery.min.js"></script>
<script type="text/javascript" src="static/js/jquery.qrcode.min.js"></script>

</head>
<body>

生成的二维码如下：<br>

<div id="qrcode"></div>

<script type="text/javascript">
			
	$('#qrcode').qrcode("www.imooc.com");
		
</script>

</body>
</html>